package com.yyf.blogapi.service;

import com.yyf.blogapi.po.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yyf.blogapi.vo.CommentParam;
import com.yyf.blogapi.vo.CommentVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yyf
 * @since 2021-08-16
 */
public interface ICommentService extends IService<Comment> {

    List<CommentVo> getCommentsByArticleId(Long articleId);

    Void saveComment(CommentParam commentParam);

    int commentsCount(Long id);
}
